WCLIBICON ABOUTBOX About WCLib WCLibIcon WCLib A WinCmd Function library Copyright 1993 Douglas Boling First published in PC Magazine May 25, 1993 US Edition Only +===========================================+=========================================== WCLib Functions Copyright 1993 Douglas Boling+===========================================+=========================================== FGetWindowHandle (title text) Returns the handle of the windowIGetWindowText (window handle) Returns the title text for a windowRGetWindowPos (window handle) Returns the x and y coordinates for a windowBGetWindowSize (window handle) Returns the size of a windowZGetWindowState (window handle) Returns the state (icon/restored/zoomed) of a windowYGetWindowEXE (window handle) Returns the name of the EXE that created the windowQGetWindow (window handle, relation) Returns the window handle of related windowU 0 = First Window 3 = Prev Window 6 = Parent B 1 = Last Window 4 = OwnerF 2 = Next Window 5 = 1st Child6SizeWindow (window handle, cx, cy) Resizes a window4MoveWindow (window handle, x, y) Moves a window8MinimizeWindow (window handle) Minimizes a window8MaximizeWindow (window handle) Maximizes a window7RestoreWindow (window handle) Restores a window ASendMCIString (MCI String) Sends an MCI command stringVGetMCIErrorString (MCI Error number) Returns an error message for an MCI error number GGetClipText (no parameters) Retrieves text from the clipboardASetClipText (data for clipboard) Sets the clipboard contentsMLoadIconFile (icon file name) Loads a icon and returns an icon handle:SetIcon (window handle, icon handle) Sets a window's iconKHighWord (number) Returns the upper 16 bits of a number KLowWord (number) Returns the lower 16 bits of a numberCPostMessage (window handle, message number, word param, long param)A Posts a message to a windowCSendMessage (window handle, message number, word param, long param)A Sends a message to a window 9FileOpen (file name, open mode) Opens a fileDFileRead (file handle, bytes to read) Reads bytes from a fileEFileReadLine (file handle) Reads a line from a fileBFileWrite (file handle, data to write) Writes data to a fileDFileWriteLine (file handle, data to write) Writes a line to a fileLFileMovePtr (file handle, offset, relative) Moves a file read/write pointer:FileClose (file handle) Closes a fileJFileExist (file name) Returns TRUE if a file exists MGetDir (no parameters) Returns the current drive and directory